package com.evl.common.persistence.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 票价表
 * </p>
 *
 * @author weijunlong
 * @since 2017-06-28
 */
@TableName("ticket_price")
public class TicketPrice extends Model<TicketPrice> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private Integer id;
    /**
     * 车站信息表id
     */
	@TableField("station_id")
	private Integer stationId;
	private Integer vehicleId;
	private String vehicleNo;//车次
    /**
     * 座位类型（1,硬卧 2.软卧）
     */
	@TableField("seat_type")
	private String seatType;
	private String seatTypeStr;
    /**
     * 票种表id(票种Code)
     */
	@TableField("kind_id")
	private Integer kindId;
	private String kindName;
    /**
     * 价格
     */
	private Double price;
    /**
     * 原价
     */
	@TableField("original_price")
	private Double originalPrice;
    /**
     * 创建人id
     */
	@TableField("create_id")
	private Integer createId;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;

	/**
     * 修改人id
     */
	@TableField("update_id")
	private Integer updateId;
    /**
     * 修改时间
     */
	@TableField("update_time")
	private Date updateTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getStationId() {
		return stationId;
	}

	public void setStationId(Integer stationId) {
		this.stationId = stationId;
	}

	public String getSeatType() {
		return seatType;
	}

	public void setSeatType(String seatType) {
		this.seatType = seatType;
	}

	public Integer getKindId() {
		return kindId;
	}

	public void setKindId(Integer kindId) {
		this.kindId = kindId;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getOriginalPrice() {
		return originalPrice;
	}

	public void setOriginalPrice(Double originalPrice) {
		this.originalPrice = originalPrice;
	}

	public Integer getCreateId() {
		return createId;
	}

	public void setCreateId(Integer createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getUpdateId() {
		return updateId;
	}

	public void setUpdateId(Integer updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	 public Integer getVehicleId() {
		return vehicleId;
	}

	public void setVehicleId(Integer vehicleId) {
		this.vehicleId = vehicleId;
	}

	public String getVehicleNo() {
			return vehicleNo;
	}

	public void setVehicleNo(String vehicleNo) {
		this.vehicleNo = vehicleNo;
	}

	public String getSeatTypeStr() {
		return seatTypeStr;
	}

	public void setSeatTypeStr(String seatTypeStr) {
		this.seatTypeStr = seatTypeStr;
	}

	public String getKindName() {
		return kindName;
	}

	public void setKindName(String kindName) {
		this.kindName = kindName;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
